package com.example.demo.dao;

import com.example.demo.entity.Stu;
import com.example.demo.entity.Tea;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeaMapper {
    List<Tea> list();

    int save(Tea tea);

    int delete(Integer id);

    Tea findById(Integer id);

    int update(Tea tea);
}
